//
//  LayerButton.m
//  BigJoy
//
//  Created by Rowling on 2017/6/27.
//  Copyright © 2017年 Rowling. All rights reserved.
//

#import "LayerButton.h"

@implementation LayerButton

-(void)layoutSubviews {
    [super layoutSubviews];
    self.layer.shadowOffset = CGSizeMake(0, 5);
    self.layer.shadowColor = XMColor(150, 150, 150).CGColor;
    self.layer.shadowOpacity = 0.3;
//    self.layer.shadowRadius = self.layer.cornerRadius;
}

@end
